package com.example.readfile

import android.app.Application
import com.shuyu.gsyvideoplayer.GSYVideoBaseManager
import com.shuyu.gsyvideoplayer.GSYVideoManager
import com.shuyu.gsyvideoplayer.utils.GSYVideoType
import com.yechaoa.yutilskt.YUtils
import tv.danmaku.ijk.media.player.IjkMediaPlayer

class MyApplication : Application() {
    override fun onCreate() {
        super.onCreate()

        // 设置[播放器]为全屏拉伸
        GSYVideoType.setShowType(GSYVideoType.SCREEN_MATCH_FULL)

        // 初始化这个全局工具
        YUtils.init(this)
    }
}
